package com.example.xd.javatest.java_rx_test;

/**
 * @auther XuDan on 2020/6/22.
 */
public class ObserverCreater implements Observer<String> {

    String name;

    public ObserverCreater(String name) {
        this.name = name;
    }

    @Override
    public void upData(String s) {
        System.out.println(name + "===" + s);
    }
}
